export const validateUserName = (rule, value, callback) => {
  if (value === '') {
    callback(new Error('您输入的账号不能为空'))
  } else {
    callback()
  }
}
export const validatePass = (rule, value, callback) => {
  if (value === '') {
    callback(new Error('您输入的密码不能为空'))
  } else {
    callback()
  }
}
